#ifndef UDPCONTROL_H
#define UDPCONTROL_H

#include <QWidget>

#include <QUdpSocket>
namespace Ui {
class UdpControl;
}

class UdpControl : public QWidget
{
    Q_OBJECT

public:
    explicit UdpControl(QWidget *parent = 0);
    ~UdpControl();

protected:
    void recv_broadcast();
private:
    Ui::UdpControl *ui;
    QUdpSocket msocket;
};

#endif // UDPCONTROL_H
